1
00:00:03,210 --> 00:00:09,390
Now we have all of our virtual machines set up and connected to a private network.

2
00:00:09,660 --> 00:00:16,260
We want to see how to setup a public network so that every now and then we'll want to change our computers

3
00:00:16,260 --> 00:00:21,540
over to a public network so that they can see out to the Internet, for example, in the social engineering

4
00:00:21,570 --> 00:00:22,170
exercise.

5
00:00:22,170 --> 00:00:22,740
That's coming up.

6
00:00:23,100 --> 00:00:29,760
We're going to see how to connect out and copy the Twitter or Facebook or another Web sites log in page

7
00:00:30,120 --> 00:00:34,950
that we can use in a phishing email to train people how to spot phishing emails.

8
00:00:34,950 --> 00:00:35,610
Much better.

9
00:00:35,970 --> 00:00:39,020
So we're going to come to the virtual box.

10
00:00:40,210 --> 00:00:46,360
And come down to preferences on a Windows P.S. this is going to be under file preferences and the file

11
00:00:46,360 --> 00:00:46,870
menu.

12
00:00:48,670 --> 00:00:52,240
And this is where we're going to set up our new public nat network.

13
00:00:52,960 --> 00:00:58,870
So we said in the PowerPoint presentation a little earlier that this would be a 10 Daddo dot nine network

14
00:00:58,870 --> 00:00:59,380
address.

15
00:00:59,710 --> 00:01:04,360
So we're gonna add a new NAT network and a NAT network network address.

16
00:01:04,360 --> 00:01:09,490
Translation will let us use the our host computers Internet connection to get out to the Internet instead

17
00:01:09,490 --> 00:01:13,960
of a host only where we can only see from one machine to the other, we're gonna be able to see Google

18
00:01:14,230 --> 00:01:19,960
and see Facebook and Twitter will be able to connect out and pull exercises from Web site, for example.

19
00:01:20,350 --> 00:01:26,080
So we can go to our network under files, preferences or under virtual box preferences.

20
00:01:26,590 --> 00:01:31,200
And we come to a network and that network we're gonna create a new net network.

21
00:01:31,600 --> 00:01:33,040
And let's change the settings.

22
00:01:33,390 --> 00:01:37,930
I'm, first of all, going to call this public nat'l so that it'll be easy to find.

23
00:01:38,140 --> 00:01:42,980
And it'll help me remember that when I'm connected to this network, I'm going to be public.

24
00:01:43,000 --> 00:01:45,670
I'm going to have a view out to the Internet.

25
00:01:46,150 --> 00:01:52,810
I want to change the network, address the cider, or this is just another way of specifying a network

26
00:01:52,810 --> 00:01:58,050
mask when it's at the 10 DataDot nine address for this public network.

27
00:01:58,060 --> 00:02:01,820
We use Tendo three for our private network so we can tell those apart.

28
00:02:02,950 --> 00:02:05,020
And then I've got a 24 bit mask.

29
00:02:05,050 --> 00:02:11,890
That just means the first eight plus eight plus eight or 24 bits or the first three bytes of this network

30
00:02:11,890 --> 00:02:12,790
will stay the same.

31
00:02:13,180 --> 00:02:23,020
So tendo dot nine thato slash twenty four is the same as a tendo dot nine go with a 255 255 255 zero

32
00:02:23,260 --> 00:02:26,290
mask and we are going to support d.H C.p.

33
00:02:26,560 --> 00:02:28,630
And we do that all in one quick screen here.

34
00:02:29,860 --> 00:02:30,580
Very good.

35
00:02:31,060 --> 00:02:32,470
And we'll see public, Matt.

36
00:02:32,510 --> 00:02:35,770
And don't worry about the part that says renamed from that network.

37
00:02:36,920 --> 00:02:41,780
Now that we've created that network, we need to set it up on our Caleigh and Windows machines will

38
00:02:41,780 --> 00:02:46,790
just do it on these two Maximova good and cinnabar Android device so that can see out of the Internet

39
00:02:47,200 --> 00:02:47,850
a split-Level.

40
00:02:47,870 --> 00:02:51,890
We're almost always going to keep on that private hosted only network.

41
00:02:52,190 --> 00:02:57,080
But when we do our social engineering exercise, we need to be able to see out from Kalli to Microsoft

42
00:02:57,080 --> 00:02:57,590
Windows.

43
00:02:59,030 --> 00:03:01,580
And then we might want to go out to the Internet and copy a site.

44
00:03:02,000 --> 00:03:04,410
So we're going to say Caleigh network.

45
00:03:05,030 --> 00:03:08,860
We're going to change from that host only adapter to a map network.

46
00:03:08,870 --> 00:03:10,130
And here's the tough part.

47
00:03:10,280 --> 00:03:16,280
There's also the private, completely hidden net where you can't see another machine.

48
00:03:17,300 --> 00:03:21,610
You can't use the our host computers network connection out to the Internet.

49
00:03:22,070 --> 00:03:23,530
But we never want to use in that.

50
00:03:23,540 --> 00:03:26,610
We want to use that network when we're looking for our public.

51
00:03:26,630 --> 00:03:26,910
Matt.

52
00:03:27,050 --> 00:03:30,240
And you see, that did come up as our option for the public.

53
00:03:30,270 --> 00:03:30,770
Matt.

54
00:03:32,580 --> 00:03:32,880
Go.

55
00:03:33,720 --> 00:03:36,000
And then back on our Caleigh box, once you restart it.

56
00:03:36,330 --> 00:03:45,000
You can either just do the disconnect the network adapter and reconnect, then try and I p a.

57
00:03:46,480 --> 00:03:52,540
And you notice we did get a 10 dot oh address on our ten out of the Nine Network.

58
00:03:52,870 --> 00:03:59,690
So 10 out of the nine dot seven this time on Kelly Linux, it'll change because it is d.H S.P. Dynamic

59
00:03:59,710 --> 00:04:01,210
Host Control Protocol.

60
00:04:01,720 --> 00:04:04,270
So it's alright if it's a different network from time to time.

61
00:04:04,280 --> 00:04:07,360
We just need to know what our IP address is tonight.

62
00:04:07,370 --> 00:04:07,540
Odah.

63
00:04:07,650 --> 00:04:10,060
Ninety seven means we're on the public net network.

64
00:04:10,570 --> 00:04:18,940
That means that we could ping out to w w w dot Google dot com for example, and we can see the real

65
00:04:18,940 --> 00:04:19,450
Google.

66
00:04:19,840 --> 00:04:22,510
And we'll have to use the control C to stop the pain.

67
00:04:23,110 --> 00:04:24,340
And Kelly Linux.

68
00:04:24,730 --> 00:04:25,420
Not bad.

69
00:04:25,870 --> 00:04:29,090
So our Caleigh machine is on the Tendo DOT nine Seven Network.

70
00:04:29,110 --> 00:04:32,260
We can do the same thing for our Windows box.

71
00:04:32,740 --> 00:04:33,820
If I come to the network.

72
00:04:35,530 --> 00:04:38,690
And change that network setting, not Matt, but Matt.

73
00:04:38,740 --> 00:04:39,490
Network.

74
00:04:39,910 --> 00:04:41,760
We'll find the public Matt Press.

75
00:04:41,870 --> 00:04:42,270
OK.

76
00:04:43,840 --> 00:04:46,700
And we can go out and do the same thing for the Android device.

77
00:04:46,730 --> 00:04:49,220
It'll need to see up to the network every now and then as well.

78
00:04:49,310 --> 00:04:52,360
When we use it now, network, public, not press.

79
00:04:52,400 --> 00:04:52,790
OK.

80
00:04:55,250 --> 00:04:59,980
And our Windows device will restart it now if we saved our settings last time.

81
00:05:00,000 --> 00:05:04,740
We may need to use our ability to restart the windows networking.

82
00:05:05,160 --> 00:05:06,810
So I'll show how to do that one more time.

83
00:05:08,390 --> 00:05:14,810
So I'm booted into my Windows computer and I can see that I saved my settings last time, so I may not.

84
00:05:15,110 --> 00:05:16,670
I didn't do a full reboot.

85
00:05:16,700 --> 00:05:20,270
You can always reboot your computer to get a new IP address.

86
00:05:20,990 --> 00:05:23,690
But we can check it just by looking down here.

87
00:05:23,780 --> 00:05:30,110
In fact, if I just hover over this, I'll see that I am connected on Tendo DOT nine nine.

88
00:05:30,530 --> 00:05:31,160
That's good to know.

89
00:05:31,190 --> 00:05:36,980
But if you ever need to, you can disconnect the network, reconnect the network adapter, run your

90
00:05:36,980 --> 00:05:38,020
IP config.

91
00:05:40,550 --> 00:05:40,910
Good.

92
00:05:40,940 --> 00:05:42,470
We got a turned at nine nine.

93
00:05:42,560 --> 00:05:43,730
But remember our command.

94
00:05:47,920 --> 00:05:53,100
To change it, to reset the windows, networking is in an administrator command prompt that CMB.

95
00:05:53,650 --> 00:05:53,950
Right.

96
00:05:53,960 --> 00:05:59,860
And then click on Run as administrator NHTSA to Windsock Reset and then IP config.

97
00:06:01,490 --> 00:06:03,020
Tonight at 9:00 dot nine.

98
00:06:03,470 --> 00:06:08,120
So now our windows and our Caleigh machines are on the same public network.

99
00:06:08,150 --> 00:06:09,530
I could ping Google from here.

100
00:06:09,890 --> 00:06:12,320
I'm going to make just one other change on my Windows computer.

101
00:06:12,350 --> 00:06:19,850
I'm going to come to the properties for our command prompt windows, and I'm going to change it up just

102
00:06:19,850 --> 00:06:20,420
a little bit.

103
00:06:20,480 --> 00:06:25,550
I'm going to make the screen text a good bright hackery green.

104
00:06:26,630 --> 00:06:32,870
And will change the fight and make that bigger so that you'll be able to read things better.

105
00:06:33,960 --> 00:06:36,020
Maybe 24 Bould, OK?

106
00:06:37,140 --> 00:06:38,130
Very nice.

107
00:06:39,210 --> 00:06:39,550
All right.

108
00:06:39,600 --> 00:06:46,260
So we have all of our machines set up and networking into each other so I can see my Caleigh machine

109
00:06:46,260 --> 00:06:46,740
from here.

110
00:06:46,740 --> 00:06:50,490
I can check that by paying 10 out Odah nine seven.

111
00:06:53,110 --> 00:06:56,980
Or enter here, whatever you got for your Caleigh machines address.

112
00:06:57,340 --> 00:07:02,050
I set up tons of computers all the time so I may have different addresses from you, but mine was 10

113
00:07:02,050 --> 00:07:03,400
dot dot ninety seven.

114
00:07:04,060 --> 00:07:05,770
And I'll ping that from windows.

115
00:07:06,850 --> 00:07:12,130
And you'll notice if you try to ping your Windows computer from Kalli, you're actually not going to

116
00:07:12,130 --> 00:07:12,840
be able to see it.

117
00:07:12,880 --> 00:07:14,770
And that's because the Windows firewall.

118
00:07:15,040 --> 00:07:20,680
But we'll see how to fix that and how to get around it when we get into the lessons on hacking windows.

119
00:07:21,000 --> 00:07:25,180
But right now, you've got a fully configured network and it's time to actually do some hacking.

120
00:07:25,210 --> 00:07:31,060
So in the next section, we're going to see how to do a social engineering attack, a phishing attack

121
00:07:31,390 --> 00:07:35,200
from Caleigh into Windows, just like we'd see out on the real Internet.

122
00:07:35,530 --> 00:07:36,610
We'll see you in the next section.

